package com.xuecheng.content.model.dto;

import com.xuecheng.content.model.po.CourseBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author: Hes
 * @description 添加课程响应dto
 * @date: 2023/6/20 12:09
 */
@Data
@ApiModel(value = "CourseBaseInfoDto", description = "响应课程基本信息")
public class CourseBaseInfoDto extends CourseBase {
    /**
     * 收费规则，对应数据字典
     */
    @ApiModelProperty(value = "收费规则" ,required = true)
    @NotEmpty(message = "收费规则不能为空")
    private String charge;

    /**
     * 价格
     */
    @ApiModelProperty(value = "价格" ,required = true)
    private Float price;


    /**
     * 原价
     */
    @ApiModelProperty(value = "原价" ,required = true)
    private Float originalPrice;

    /**
     * 咨询qq
     */
    @ApiModelProperty(value = "qq" ,required = true)
    private String qq;

    /**
     * 微信
     */
    @ApiModelProperty(value = "微信" ,required = true)
    private String wechat;

    /**
     * 电话
     */
    @ApiModelProperty(value = "电话" ,required = true)
    private String phone;

    /**
     * 有效期天数
     */
    @ApiModelProperty(value = "有效期天数" ,required = true)
    private Integer validDays;

    /**
     * 大分类名称
     */
    @ApiModelProperty(value = "大分类名称" ,required = true)
    private String mtName;

    /**
     * 小分类名称
     */
    @ApiModelProperty(value = "小分类名称" ,required = true)
    private String stName;
}
